<?php
/**
 * Created by PhpStorm.
 * User: crstu
 * Date: 2016/6/17
 * Time: 0:53
 */

use common\widgets\ActiveForm;
use yii\helpers\Html;

$this->title = '文章内容批量替换';



$form = ActiveForm::begin();
?>
<div class="form-group">
    <label for="search" class="control-label col-md-2">要查找的内容</label>
    <div class="col-md-6">
        <?php
        echo Html::textInput('search', '', ['class' => 'form-control']);
        ?>
    </div>
</div>
    <div class="form-group">
        <label for="search" class="control-label col-md-2">替换的内容</label>
        <div class="col-md-6">
            <?php
            echo Html::textInput('replace', '', ['class' => 'form-control']);
            ?>
        </div>
    </div>
<?php
ActiveForm::end();